package com.canbot.u05.activity.presidemode.newcode.bean;

import java.io.Serializable;
import java.util.Objects;

public class PicturnEmotionBean implements Serializable {
    private String fileName;
    private int type = NModuleType.EMOTION;
    private boolean isSelect;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public PicturnEmotionBean(String fileName) {
        this.fileName = fileName;
    }

    public PicturnEmotionBean() {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PicturnEmotionBean that = (PicturnEmotionBean) o;
        return Objects.equals(fileName, that.fileName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(fileName);
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    @Override
    public String toString() {
        return "PicturnEmotionBean{" +
                "fileName='" + fileName + '\'' +
                ", isSelect=" + isSelect +
                '}';
    }
}
